﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using QuanLyRapChieuPhim.DAO;
using QuanLyRapChieuPhim.DTO;

namespace QuanLyRapChieuPhim.BUS
{
    class DSTheLoaiPhimBUS
    {

        private DSTheLoaiPhimDAO DAO = new DSTheLoaiPhimDAO();

        public BindingList<DSTheLoaiPhimDTO> GetList()
        {
            return DAO.GetList();
        }

        public DSTheLoaiPhimDTO GetFromId(int _Ma)
        {
            return DAO.GetFromId(_Ma);
        }

        public bool Delete(int _Ma)
        {
            return DAO.Delete(_Ma);
        }

        public bool UnDelete(int _Ma)
        {
            return DAO.UnDelete(_Ma);
        }

    }
}
